package integration.properties.message.impl;

import integration.dom.Message;
import integration.properties.message.MessageFormat;

public class JsonMessageFormatImpl extends AbstractMessageFormat implements MessageFormat {

    private static final String prettyPrintName = "JSON";

    @Override
    public String toString() {
        return prettyPrintName;
    }

    @Override
    public boolean isSameFormatOf(Message message) {
        System.out.println("Performing magic to determine if this message is formatted using " + toString());
        return true; //todo: for testing purposes only I am making all messages return true for testing json formating
    }

}
